<?php defined('InShopNC') or exit('Access Invalid!');?>
<!--新人福利-->
<div class="newWelfare_box">
    <div class="newWelfare_cen">
        <div class="top">
            <!--主题-->
            <?php if(!empty($output['code_act']['code_info']['title'])){ ?>
            <div class="theme">
                <?php echo $output['code_act']['code_info']['title']; ?>
            </div>
            <?php } ?>
        </div>
        <!--活动大图图片展示-->
        <?php if(!empty($output['code_act']['code_info'])){ ?>
        <div class="activityImg">
            <a href="<?php
                if(!empty($output['code_act']['code_info']['url'])){
                    echo $output['code_act']['code_info']['url'];
                }else{
                    echo 'javascript:;';
                }
            ?>" title="<?php echo $output['code_act']['code_info']['title']; ?>">
                <img src="<?php echo UPLOAD_SITE_URL.'/'.$output['code_act']['code_info']['pic'];?>" alt="<?php echo $output['code_act']['code_info']['title']; ?>">
            </a>
        </div>
        <?php } ?>
        <!--产品列表-->
        <?php if(!empty($output['code_sale_list']['code_info'][0]['goods_list']) && is_array($output['code_sale_list']['code_info'][0]['goods_list'])){ ?>
        <div class="tabs_panel">
            <ul>
                <?php foreach($output['code_sale_list']['code_info'][0]['goods_list'] as $v){ ?>
                <li>
                    <div class="cp_img">
                        <a href="<?php echo urlShop('goods','index',array('goods_id'=> $v['goods_id'])); ?>" title="<?php echo $v['goods_name']; ?>">
                            <img src="<?php echo UPLOAD_SITE_URL.'/'.$v['goods_pic'];?>" alt="<?php echo $v['goods_name']; ?>">
                        </a>
                    </div>
                    <div class="title">
                        <span title="<?php echo $v['goods_name']; ?>"><?php echo $v['goods_name']; ?></span>
<!--                        <span title="香美口感">香美口感</span>-->
                    </div>
                    <div class="price">
                        <span>￥</span><span><?php echo $v['goods_price']; ?></span>
                    </div>
                </li>
                <?php }?>
            </ul>
        </div>
        <?php } ?>
    </div>
</div>